package com.lingjtx.common.security.model;

import com.lingjtx.common.core.constant.RedisConfig;
import com.lingjtx.common.redis.stream.RedisStreamTypedEvent;

import java.util.List;

public class PermsListModel implements RedisStreamTypedEvent {

    private List<PermsEntity> list;

    public PermsListModel(List<PermsEntity> list) {
        this.list = list;
    }

    public List<PermsEntity> getList() {
        return list;
    }

    public void setList(List<PermsEntity> list) {
        this.list = list;
    }

    @Override
    public String getType() {
        return RedisConfig.REDIS_CHANNEL_SYS_PERM_UPDATE;
    }
}
